package com.talos.ums.controller.admin.appversion.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - 移动应用版本管理新增/修改 Request VO")
@Data
public class UmsAppVersionSaveReqVO {

    @Schema(description = "自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "262")
    private Long id;

    @Schema(description = "来源（司机端：otwb_tms_driver，站点端：otwb_tms_station）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "来源（司机端：otwb_tms_driver，站点端：otwb_tms_station）不能为空")
    private String source;

    @Schema(description = "类型（ios,android,ipad）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "类型（ios,android,ipad）不能为空")
    private String type;

    @Schema(description = "版本号")
    private String versionNum;

    @Schema(description = "下载地址", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "app提示语")
    private String tips;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}
